---
title: "cast to array · RUAL Documentation"
description: "Converts your mutations to an array."
canonical: https://docs.rual.nl/block-types/type casting/mutations_convert_to_array
language: en
---

# cast to array

This block is part of the [`type casting`](https://docs.rual.nl/block-types/type%20casting) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Converts your mutations to an array.

- mutations required `mutations` The mutations to be converted into a array.

- array `array` The converted output array.

A typical wiring for [cast to array](https://docs.rual.nl/block-types/type%20casting/mutations_convert_to_array): the `array` out pin feeds [length](https://docs.rual.nl/block-types/array/array_length).

![Studio canvas example for the cast to array block: typical wiring for cast to array.](https://docs.rual.nl/canvas-examples/mutations_convert_to_array.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
